﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  </startup>
  <connectionStrings>
    <add name="ClientPlatform" connectionString="mongodb://localhost:27017/ClientPlatform" />
    <add name="RedisConnectionString" connectionString="localhost" />
  </connectionStrings>
  <appSettings>
    <add key="UseComputation" value="true" />
    <add key="RedisServer" value="localhost" />
    <add key="httpHostUrl" value="http://localhost:10280/esgratingserv" />
    <!-- no port because it's default port 80 for testing/live environment-->
    <add key="httpsPort" value="443" />
    <add key="UseHttps" value="false"/>
    <!-- port 443 for testing/live environment-->
    <add key="Tier1WeightMatrixMaxCount" value="5" />
    <add key="Tier2WeightMatrixMaxCount" value="2" />
    <add key="ESGRatingWeightMatrixUploadTempFolder" value="C:/Services/Sustainalytics.ESGRatings.Service/WeightMatrixUploadTemp" />
    <add key="RedisCache" value="localhost" />
    <add key="DistributionDataSet" value="8" />
    <add key="DistributionDataSetBackup" value="10" />
    <add key="ComputationDataSet" value="9" />
    <add key="ComputationDataSetBackup" value="11" />
    <add key="RedisChannel" value="ClusterChannel" />
    <add key="templateImage" value="ami-34c58d43" />
    <add key="mainCudaInstanceId" value="i-0bad8f49" />
    <add key="cudaPortRunning" value="10280" />
    <add key="machineDemand" value="3" />
    <add key="awspublicip" value="true" />
    <add key="ESGComputingServiceUrl" value="http://localhost:10280/esgcomputingserv/api/v1" />
    <add key="foxit.licensekey" value="FMG10NPDMO8EMN5IhJpfkYlw9S8ie3aDSUZcAYigb0T+caKwz3IgE7jOPTHWQsjGjeKeDpbVECTL2OSG89w9C19/hqkAWIIlJvlA" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
    <add key="accesKeyId" value="AKIAJKGZZMOFAVOVLHJA" />
    <add key="awsSecretKey" value="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" />
    <add key="s3bucket" value="dev-globalaccess-europe" />
    <add key="s3bucketCustom" value="dev-globalaccess-europe-custom" />
    <add key="s3ServiceEndPoint" value="https://s3-eu-west-1.amazonaws.com/" />
    <add key="MaxDegreeOfParallelism" value="7" />
    <add key="enableCors" value="true" />
  </appSettings>
  <runtime>
    <loadFromRemoteSources enabled="true" />
    <gcServer enabled="true" />

  </runtime>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
    <machineKey decryption="AES" decryptionKey="787BEDA539A6FAA20A0FC0D4AEA161E5EE8E99807A072DEEEB9353AF4D4727DD" validation="SHA1" validationKey="4301EC3E5AE7FD283BD142C195057C4808F02C83EDFFCCD692D13C5406B9046DABB1668C077DF90BA379C08F30F536FE4DA6E61AC851BDB066226587C1CAB780" />
  </system.web>
</configuration>
